<?php

use Illuminate\Database\Seeder;
use Illuminate\Support\Facades\DB;

class CirclesTableSeeder extends Seeder
{
    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
    	$circles = [
    		[
    			'id' => 1,
    			'company_id' => 1,
    			'project_id' => 1,
    			'line_id' => 1,
    			'name' => '区域1',
				'created_at' => date('Y-m-d H:i:s'),
				'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 2,
    			'company_id' => 1,
    			'project_id' => 1,
    			'line_id' => 1,
    			'name' => '区域2',
				'created_at' => date('Y-m-d H:i:s'),
				'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 3,
    			'company_id' => 1,
    			'project_id' => 1,
    			'line_id' => 1,
    			'name' => '区域3',
				'created_at' => date('Y-m-d H:i:s'),
				'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 4,
    			'company_id' => 1,
    			'project_id' => 1,
    			'line_id' => 2,
    			'name' => '区域1',
				'created_at' => date('Y-m-d H:i:s'),
				'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 5,
    			'company_id' => 1,
    			'project_id' => 1,
    			'line_id' => 2,
    			'name' => '区域2',
				'created_at' => date('Y-m-d H:i:s'),
				'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 6,
    			'company_id' => 1,
    			'project_id' => 1,
    			'line_id' => 2,
    			'name' => '区域3',
				'created_at' => date('Y-m-d H:i:s'),
				'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 7,
    			'company_id' => 1,
    			'project_id' => 1,
    			'line_id' => 3,
    			'name' => '区域1',
				'created_at' => date('Y-m-d H:i:s'),
				'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 8,
    			'company_id' => 1,
    			'project_id' => 1,
    			'line_id' => 3,
    			'name' => '区域2',
				'created_at' => date('Y-m-d H:i:s'),
				'updated_at' => date('Y-m-d H:i:s')
			],[
    			'id' => 9,
    			'company_id' => 1,
    			'project_id' => 1,
    			'line_id' => 3,
    			'name' => '区域3',
				'created_at' => date('Y-m-d H:i:s'),
				'updated_at' => date('Y-m-d H:i:s')
			],
		];

    	DB::table('circles')->insert($circles);
    }
}
